import request from '@/utils/request'
const api = {
  loginOut:"/api/loginOut",
  login:'/api/login',
  getUsers: "/api/getUsers",
}
export function login(param){
  return request({
    url: api.login,
    method: 'post',
    data: param
  })
}
export function loginOut(){
  return request({
    url: api.loginOut,
    method: 'get',
  })
}
export function getUsers(param){
  return request({
    url: api.getUsers,
    method: 'get',
    param
  })
}